package com.platform.coreentity.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * describe:文件表
 *
 * @author rainly
 * @date 2019/07/23
 * @time 14:38
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Entity
@Table(name = "sys_file", schema = "platform")
public class SysFileEntity {
    @Id
    @Column(length = 50, name = "fileid")
    private String fileId;

    /**
     * 文件名
     */
    @Column(length = 50, name = "filename",columnDefinition = "varchar(50) COMMENT '文件名'")
    private String filename;

    /**
     * 文件路径
     */
    @Column(length = 200, name = "filepath",columnDefinition = "varchar(200) COMMENT '文件路径'")
    private String filepath;
}
